<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <a href="//baidu.com" target="">默认在当前页面打开</a>
    <a href="//baidu.com" target="_blank">_blank在开新的页面打开</a>
    <a href="//baidu.com" target="_self">_self在当前页面打开,默认值</a>
    <a href="//baidu.com" target="_top">_top在最顶层页面打开</a><br />
    <iframe
      src="a-target-iframe.html"
      frameborder="0"
      style="width: 800px; height: 400px"
    ></iframe>
    <p>程序员命名</p>
    <a href="//baidu.com" target="xxx">百度</a>
    <a href="//google.com" target="xxx">谷歌</a>
    <iframe src="" frameborder="0" name="xxx"style="width:100%; height:800px; border:none;">
    </iframe>
</html>
